package com.ffzx.commerce.framework.vo;

import java.io.Serializable;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import com.ffzx.commerce.framework.common.persistence.DataEntity;

/**
 * 数据字典 model
 * 
 * @author liujunjun
 * @date 2016年3月9日 下午3:40:03
 * @version 1.0
 */
public class DictVo implements Serializable{

	private static final long serialVersionUID = 1L;

	/**
	 * 编号.
	 */
	private String id;

	/**
	 * 数据值.
	 */
	private String value;

	/**
	 * 标签名.
	 */
	private String label;

	/**
	 * 类型.
	 */
	private String type;

	/**
	 * 描述.
	 */
	@NotEmpty
	private String description;

	/**
	 * 排序（升序）.
	 */
	private Long sort;

	/**
	 * 父级编号.
	 */
	private String parentId;

	/**
	 * 启禁用状态(0: 启用; 1: 禁用)
	 */
	private String actFlag;

	/**
	 * 编码
	 */
	@NotEmpty
	private String code;

	/**
	 * 是否允许运维人员操作(0:不允许; 1:允许)
	 */
	private String isAllowAppopsOperation;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getSort() {
		return sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getActFlag() {
		return actFlag;
	}

	public void setActFlag(String actFlag) {
		this.actFlag = actFlag;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getIsAllowAppopsOperation() {
		return isAllowAppopsOperation;
	}

	public void setIsAllowAppopsOperation(String isAllowAppopsOperation) {
		this.isAllowAppopsOperation = isAllowAppopsOperation;
	}
 
}